<!DOCTYPE html>
<html>
  <head>
    <title>Ndcmine</title>
    <%= stylesheet_link_tag :all %>
    <%= javascript_include_tag :defaults %>
    <%= csrf_meta_tag %>
  </head>
  <body>
    <center>

      <div class="header">
        <br/>
        <% flash.each do |name, msg| %>
          <%= content_tag :div, msg, :id => "flash#{name}" %>
        <% end %>

        <%=link_to "Página Inicial", principal_path%>
        <%=link_to "Funcionários", menu_funcionario_path%>
        <%=link_to "Tarefas", menu_tarefa_path%>
        <%=link_to "Projetos", menu_projeto_path%>
        <%=link_to "Logout", logout_path%>

      </div>

      <%= yield %>

      <div class="footer">
      <br/>
      <br/>
      <br/>
    </div>

    </center>
  </body>
</html>
